<?php

// print_r($parametri);

?>

<form action="/<?php echo AppController::APP_NAME?>/Parametro/save" method="post" id="form">

	<fieldset>
	    <legend>
			<h4>Parametri</h4>
	    </legend>
	    <label>Gruppo Registrazione</label>
		<select name='Parametro[gruppo_registrazione]' >
			<option value=''></option>
			<?foreach ($groups as $key => $group) {?>
		  			<option value='<? echo $key?>' <? if($key == $parametri['Parametro']['gruppo_registrazione']) echo " selected='selected' " ?> ?><? echo $group ?></option>
			<? } ?> 
		</select> 
		<p>
			<button type="submit" class="btn btn-primary"><i class='icon-ok'></i></button>
		</p>
	</fieldset>

</form>
